package com.edu.mapper;

import com.edu.entity.Department;
import com.edu.entity.Employee;

import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Integer depId);

    int insert(Department row);

    int insertSelective(Department row);

    Department selectByPrimaryKey(Integer depId);

    int updateByPrimaryKeySelective(Department row);

    int updateByPrimaryKey(Department row);

    Employee sqlFindEmpByDepName(String dep_name);

    List<Department> sqlFindAllDepAndEmp();

    List<Department> sqlFindDepByDepId(int dep_id);
}